package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 前台用户列表对象 t_account
 *
 * @author juck
 * @date 2021-04-24
 */
public class TAccount extends BaseEntity
        {
private static final long serialVersionUID=1L;

        /** ID */
                                                        @Excel(name = "ID")
                        private Long aId;

            /** 用户昵称 */
                                                        @Excel(name = "用户昵称")
                        private String aNickname;

            /** 手机号 */
                                                        @Excel(name = "手机号")
                        private String aPhone;

            /** 账户密码 */
            private String aPassword;

            /** 密码盐值 */
            private String aSalt;

            /** 账户余额 */
                                                        @Excel(name = "账户余额")
                        private BigDecimal aBalance;

            /** 佣金 */
                                                        @Excel(name = "佣金")
                        private BigDecimal aCommission;

            /** 用户头像 */
                                                        @Excel(name = "用户头像")
                        private String aHeadImg;

            /** 上级id */
                                                        @Excel(name = "上级id")
                        private Long aParentId;

            /** 推广绑定时间 */
                                                        @JsonFormat(pattern = "yyyy-MM-dd")
            @Excel(name = "推广绑定时间", width = 30, dateFormat = "yyyy-MM-dd")
                        private Date aBindTime;

            /** 合伙人标识 */
                                                        @Excel(name = "合伙人标识")
                        private Long aPartnerIdentity;

            /** 注册时间 */
                                                        @JsonFormat(pattern = "yyyy-MM-dd")
            @Excel(name = "注册时间", width = 30, dateFormat = "yyyy-MM-dd")
                        private Date aRegistrationTime;

            /** 注册时的ip地址 */
                                                        @Excel(name = "注册时的ip地址")
                        private String aRegistrationIpaddress;

            /** 用户禁用状态 */
                                                        @Excel(name = "用户禁用状态")
                        private Long aDisableState;

                            public void setaId(Long aId)
            {
            this.aId = aId;
            }

    public Long getaId()
            {
            return aId;
            }
                            public void setaNickname(String aNickname)
            {
            this.aNickname = aNickname;
            }

    public String getaNickname()
            {
            return aNickname;
            }
                            public void setaPhone(String aPhone)
            {
            this.aPhone = aPhone;
            }

    public String getaPhone()
            {
            return aPhone;
            }
                            public void setaPassword(String aPassword)
            {
            this.aPassword = aPassword;
            }

    public String getaPassword()
            {
            return aPassword;
            }
                            public void setaSalt(String aSalt)
            {
            this.aSalt = aSalt;
            }

    public String getaSalt()
            {
            return aSalt;
            }
                            public void setaBalance(BigDecimal aBalance)
            {
            this.aBalance = aBalance;
            }

    public BigDecimal getaBalance()
            {
            return aBalance;
            }
                            public void setaCommission(BigDecimal aCommission)
            {
            this.aCommission = aCommission;
            }

    public BigDecimal getaCommission()
            {
            return aCommission;
            }
                            public void setaHeadImg(String aHeadImg)
            {
            this.aHeadImg = aHeadImg;
            }

    public String getaHeadImg()
            {
            return aHeadImg;
            }
                            public void setaParentId(Long aParentId)
            {
            this.aParentId = aParentId;
            }

    public Long getaParentId()
            {
            return aParentId;
            }
                            public void setaBindTime(Date aBindTime)
            {
            this.aBindTime = aBindTime;
            }

    public Date getaBindTime()
            {
            return aBindTime;
            }
                            public void setaPartnerIdentity(Long aPartnerIdentity)
            {
            this.aPartnerIdentity = aPartnerIdentity;
            }

    public Long getaPartnerIdentity()
            {
            return aPartnerIdentity;
            }
                            public void setaRegistrationTime(Date aRegistrationTime)
            {
            this.aRegistrationTime = aRegistrationTime;
            }

    public Date getaRegistrationTime()
            {
            return aRegistrationTime;
            }
                            public void setaRegistrationIpaddress(String aRegistrationIpaddress)
            {
            this.aRegistrationIpaddress = aRegistrationIpaddress;
            }

    public String getaRegistrationIpaddress()
            {
            return aRegistrationIpaddress;
            }
                            public void setaDisableState(Long aDisableState)
            {
            this.aDisableState = aDisableState;
            }

    public Long getaDisableState()
            {
            return aDisableState;
            }
    
@Override
public String toString(){
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                                .append("aId",getaId())
                                .append("aNickname",getaNickname())
                                .append("aPhone",getaPhone())
                                .append("aPassword",getaPassword())
                                .append("aSalt",getaSalt())
                                .append("aBalance",getaBalance())
                                .append("aCommission",getaCommission())
                                .append("aHeadImg",getaHeadImg())
                                .append("aParentId",getaParentId())
                                .append("aBindTime",getaBindTime())
                                .append("aPartnerIdentity",getaPartnerIdentity())
                                .append("aRegistrationTime",getaRegistrationTime())
                                .append("aRegistrationIpaddress",getaRegistrationIpaddress())
                                .append("aDisableState",getaDisableState())
                .toString();
        }
        }
